<div class="pageContent">
    <form method="post" action="{:url('Subscribe/addSubscribe')}" class="pageForm" onsubmit="return validateCallback(this, navTabAjaxDone)">
        <div class="pageFormContent" layoutH="58">
            <div class="unit">
                <label>检车站：</label>
                <select name="company_id" class="combox">
                    {volist name="company" id="item"}
                    <option value="{$item.id}" {eq name="company_id" value="$item.id"}selected{/eq}>{$item.company_name}</option>
                    {/volist}
                </select>
            </div>
            <div class="unit">
                <label>选择日期：</label>
                <input name="date_date" type="text" class="required date" datefmt="yyyy-MM-dd" readonly="true" minDate="{$minDate}" maxDate="{$maxDate}">
            </div>
            <div class="unit">
                <label style="width:200px;font-weight:bold;color:#ff6c60">填写各时间段可预约车辆数</label>
            </div>
            {volist name="time_state" id="item"}
            <div class="unit">
                <label>{$item.time_state|strtotime|date="H:i",###}</label>
                <input type="hidden" name="time_state_id[{$key}]" value="{$item.id}"/>
                剩余：<input type="number" name="num[{$key}]" style="width:100px" size="10" maxlength="50" class="required digits" value="" /> 台
            </div>
            {/volist}
        </div>
        <div class="formBar">
            <ul>
                <li><div class="buttonActive"><div class="buttonContent"><button type="submit">提交</button></div></div></li>
                <li><div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div></li>
            </ul>
        </div>
    </form>
</div>

